gh-74185: repr() of ImportError now contains attributes name and path.#1011
gh-74185: repr() of ImportError now contains attributes name and path.#1011serhiy-storchaka wants to merge 9 commits intopython:mainfrom
Conversation
|
This PR is stale because it has been open for 30 days with no activity. |
|
This PR is stale because it has been open for 30 days with no activity. |
iritkatriel
left a comment
There was a problem hiding this comment.
This has merge conflicts now.
|
When you're done making the requested changes, leave the comment: |
|
This PR is stale because it has been open for 30 days with no activity. |
|
This PR is stale because it has been open for 30 days with no activity. |
|
This PR is stale because it has been open for 30 days with no activity. |
|
Why this PR is still open? |
|
This PR is stale because it has been open for 30 days with no activity. |
|
@serhiy-storchaka, do you want to finish this PR? Should I take over? |
|
This PR is stale because it has been open for 30 days with no activity. |
I think you should take it over now |
|
This PR is stale because it has been open for 30 days with no activity. |
This comment was marked as abuse.
This comment was marked as abuse.
| exc = ImportError('test', name='somename', path='somepath') | ||
| self.assertEqual(repr(exc), | ||
| "ImportError('test', name='somename', path='somepath')") | ||
|
|
There was a problem hiding this comment.
I'm not sure, but we might want a test that actually tries importing some nonexistent module and see if its __repr__ has those required attributes.
|
This PR is stale because it has been open for 30 days with no activity. |
Uh oh!
There was an error while loading. Please reload this page.